package io.renren.modules.eas.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.eas.dao.EasBasicEduDao;
import io.renren.modules.eas.entity.EasBasicEduEntity;
import io.renren.modules.eas.service.EasBasicEduService;


@Service("easBasicEduService")
public class EasBasicEduServiceImpl extends ServiceImpl<EasBasicEduDao, EasBasicEduEntity> implements EasBasicEduService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<EasBasicEduEntity> page = this.page(
                new Query<EasBasicEduEntity>().getPage(params),
                new QueryWrapper<EasBasicEduEntity>()
        );

        return new PageUtils(page);
    }

}